package com.ruoyi.system.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

@Data
public class SchoolClassesjk extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属校区 */
    private Long schoolId;

    @Excel(name = "所属校区")
    private String schoolName;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String classesName;

    /** 教学老师ID */
    private Long jxteacherId;
    @Excel(name = "教学老师用户名")
    private String jxusername;

    private Long studentId;
    private List<SchoolStudent> studentList;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("schoolId", getSchoolId())
                .append("classesName", getClassesName())
                .append("jxteacherId", getJxteacherId())
                .append("createTime", getCreateTime())
                .toString();
    }
}
